package com.sky.sentinel.nacos.web;

import com.sky.sentinel.nacos.service.ISentinelNacosService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SentinelNacosController {

    @Resource
    private ISentinelNacosService sentinelNacosService;

    @GetMapping("/sentinelNacos")
    public String sentinelNacos(){
        return sentinelNacosService.test();
    }
}
